CreateOpenChannelFragment

open class CreateOpenChannelFragment : BaseModuleFragment<MT, VM>

Fragment displaying the user list to create a open channel. since 3.2.0

Types

Link copied to clipboard
open class Builder

Functions

Link copied to clipboard
protected open fun createOpenChannel(@NonNull params: OpenChannelCreateParams)
Creates OpenChannel with OpenChannelCreateParams.
Link copied to clipboard
protected open fun onBeforeCreateOpenChannel(@NonNull params: OpenChannelCreateParams)
It will be called before creating open channel.
Link copied to clipboard
protected open fun onBeforeReady(    @NonNull status: ReadyStatus,     @NonNull module: CreateOpenChannelModule,     @NonNull viewModel: CreateOpenChannelViewModel)
After authenticate ()} is finished, onReady will be called with the result of authentication and all preparations will be ready to use.
Link copied to clipboard
protected open fun onBindChannelProfileInputComponent(@NonNull channelProfileInputComponent: ChannelProfileInputComponent, @NonNull viewModel: CreateOpenChannelViewModel)
Called to bind events to the ChannelProfileInputComponent.
Link copied to clipboard
protected open fun onBindHeaderComponentComponent(@NonNull headerComponent: StateHeaderComponent, @NonNull viewModel: CreateOpenChannelViewModel)
Called to bind events to the HeaderComponent.
Link copied to clipboard
protected open fun onConfigureParams(@NonNull module: CreateOpenChannelModule, @NonNull args: Bundle)
Called to initialize the module's params or components' params.
Link copied to clipboard
protected open fun onCreateModule(@NonNull args: Bundle): CreateOpenChannelModule
Called to do initial creation of a module.
Link copied to clipboard
protected open fun onCreateViewModel(): CreateOpenChannelViewModel
Called to do initial creation of a view model.
Link copied to clipboard
open fun onDestroy()
Link copied to clipboard
protected open fun onNewChannelCreated(@NonNull channel: OpenChannel)
It will be called when the new channel has been created.
Link copied to clipboard
protected open fun onReady(    @NonNull status: ReadyStatus,     @NonNull module: CreateOpenChannelModule,     @NonNull viewModel: CreateOpenChannelViewModel)
Called to start the operation of the fragment after authentication and module setup.